package dbtest.com.entity;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
/**
 * <p>
 * 品牌商表
 * </p>
 *
 * @author mfx
 * @since 2020-10-27
 */
@TableName("dts_brand")
public class Brand implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 品牌商名称
     */
    private String name;

    /**
     * 品牌商简介
     */
    private String desc;

    /**
     * 品牌商页的品牌商图片
     */
    private String picUrl;

    private Integer sortOrder;

    /**
     * 品牌商的商品低价，仅用于页面展示
     */
    private BigDecimal floorPrice;

    /**
     * 创建时间
     */
    private Date addTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 分享二维码图片
     */
    private String shareUrl;

    /**
     * 管理用户id
     */
    private Integer adminId;

    /**
     * 逻辑删除
     */
    private Boolean deleted;

    private String commpany;

    /**
     * 自动监控更新商品
     */
    private Boolean autoUpdateGood;

    /**
     * 店铺url地址
     */
    private String shopUrl;

    /**
     * 默认的商品类别id
     */
    private Integer defaultCategoryId;

    /**
     * 默认商品页面数
     */
    private Integer defaultPages;

    /**
     * 店铺商品溢价
     */
    private Integer addPrecent;

    /**
     * 提货地址
     */
    private String address;

    /**
     * 经度
     */
    private BigDecimal longitude;

    /**
     * 纬度
     */
    private BigDecimal latitude;

    /**
     * 提货时间配置
     */
    private String fetchTimeRules;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    public BigDecimal getFloorPrice() {
        return floorPrice;
    }

    public void setFloorPrice(BigDecimal floorPrice) {
        this.floorPrice = floorPrice;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getShareUrl() {
        return shareUrl;
    }

    public void setShareUrl(String shareUrl) {
        this.shareUrl = shareUrl;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getCommpany() {
        return commpany;
    }

    public void setCommpany(String commpany) {
        this.commpany = commpany;
    }

    public Boolean getAutoUpdateGood() {
        return autoUpdateGood;
    }

    public void setAutoUpdateGood(Boolean autoUpdateGood) {
        this.autoUpdateGood = autoUpdateGood;
    }

    public String getShopUrl() {
        return shopUrl;
    }

    public void setShopUrl(String shopUrl) {
        this.shopUrl = shopUrl;
    }

    public Integer getDefaultCategoryId() {
        return defaultCategoryId;
    }

    public void setDefaultCategoryId(Integer defaultCategoryId) {
        this.defaultCategoryId = defaultCategoryId;
    }

    public Integer getDefaultPages() {
        return defaultPages;
    }

    public void setDefaultPages(Integer defaultPages) {
        this.defaultPages = defaultPages;
    }

    public Integer getAddPrecent() {
        return addPrecent;
    }

    public void setAddPrecent(Integer addPrecent) {
        this.addPrecent = addPrecent;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public String getFetchTimeRules() {
        return fetchTimeRules;
    }

    public void setFetchTimeRules(String fetchTimeRules) {
        this.fetchTimeRules = fetchTimeRules;
    }

    @Override
    public String toString() {
        return "Brand{" +
        ", id=" + id +
        ", name=" + name +
        ", desc=" + desc +
        ", picUrl=" + picUrl +
        ", sortOrder=" + sortOrder +
        ", floorPrice=" + floorPrice +
        ", addTime=" + addTime +
        ", updateTime=" + updateTime +
        ", shareUrl=" + shareUrl +
        ", adminId=" + adminId +
        ", deleted=" + deleted +
        ", commpany=" + commpany +
        ", autoUpdateGood=" + autoUpdateGood +
        ", shopUrl=" + shopUrl +
        ", defaultCategoryId=" + defaultCategoryId +
        ", defaultPages=" + defaultPages +
        ", addPrecent=" + addPrecent +
        ", address=" + address +
        ", longitude=" + longitude +
        ", latitude=" + latitude +
        ", fetchTimeRules=" + fetchTimeRules +
        "}";
    }
}
